package com.qj.daibei.service.impl;

import com.qj.daibei.mapper.EducationMapper;
import com.qj.daibei.pojo.Education;
import com.qj.daibei.service.EducationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * author wml
 * Created on 2021/9/24 15:22
 */
@Service
public class EducationServiceImpl implements EducationService {

    @Autowired
    private EducationMapper educationMapper;

    @Override
    public List<Education> queryAllEducation() {
        return this.educationMapper.selectList(null);
    }
}
